using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.Package;
using NBusiness.CodeDom;
using NBusiness.ESharp;
using NBusiness.ESharp.Compiler;
using System.Reflection;
using System.ComponentModel;
using NBusiness.CodeDom.Compiler;

namespace NBusiness.VisualStudio
{
    internal class ESharpDeclaration : IComparable<ESharpDeclaration>
    {
        public ESharpDeclaration() { }

        public string Title { get; set; }
        public string Shortcut { get; set; }
        public string Description { get; set; }
        public EntityElementType Type { get; set; }

        #region IComparable<ESharpDeclaration> Members
        /// <summary>
        /// Sort alphabetically
        /// </summary>
        /// <param name="other"></param>
        /// <returns></returns>
        public int CompareTo(ESharpDeclaration other)
        {
            return Title.CompareTo(other.Title);
        }

        #endregion
    }
}
